// TOWN DIALOGUE SCRIPT
//    Town 92: Happy, Friendly Roaches

begintalkscript;

variables;

short i,j,k,r1,choice;

// Guard Roach

begintalknode;
	tag = 40;
	state = -1;
	nextstate = 1;
	question = "Guard Roach";
	text1 = "A huge cockroach, about five feet long, stands guard here. _I'm Guard Roach!_ it says, in a cheery happy voice.";
	text2 = "It sounds a lot like one of the friendly spiders. The voice is a lot more disturbing coming from a roach.";
	text5 = "The huge cockroach still stands guard here. It watches you closely, its antennae twitching.";
	action = INTRO;

begintalknode;
	state = 1;
	nextstate = -1;
	question = "_Do you have a name?_";
	text1 = "_Sure! You can call me Gregor._";

begintalknode;
	state = 1;
	nextstate = 2;
	question = "_Hi. What are you doing?_";
	text1 = "_I'm a guard roach!_";

begintalknode;
	state = 2;
	nextstate = 3;
	question = "_What are you guarding against?_";
	text1 = "It's antennae twitch excitedly. _You! I guess. Any mean humans or spiders come in here, I give 'em a big bite! If you're nice and cute, though, I let you in._";

begintalknode;
	state = 3;
	nextstate = -1;
	question = "_How do you bite things?_";
	text1 = "It displays its mandibles to you. They are large and impressive.";

begintalknode;
	state = 3;
	nextstate = 4;
	question = "_Do you often get attacked?_";
	text1 = "_Sometimes. Most humans and big spiders aren't neat and cute, like you. They try to eat or stab us, rather than talk and be friendly!_";

begintalknode;
	state = 4;
	nextstate = -1;
	question = "_Well, I won't hurt you._";
	text1 = "_You're nice! I like you!_ It hops up and down happily.";

begintalknode;
	state = 3;
	nextstate = -1;
	question = "_Do you think I'm nice and cute?_";
	text1 = "_I think so. You're talking to me, and not trying to stick me with one of your weapon things. So I guess you can go in._";

// Filth Spreader

begintalknode;
	tag = 60;
	state = -1;
	nextstate = 29;
	question = "Filth Spreader";
	text1 = "This huge cockroach stops gobbling down disgusting grayish material and turns to speak with you.";
	text2 = "_I'm Filth Spreader,_ it says happily, poking some slime with a leg and spreading it around to emphasize the point.";
	text5 = "This huge cockroach continues to reflexively spread the slime around with its foreleg as it speaks with you. It looks terribly unsanitary, but, you would guess, that is the point.";
	action = INTRO;

begintalknode;
	state = 29;
	nextstate = -1;
	question = "_Why are you spreading that slime around? It's very messy._";
	text1 = "_I ... I ... Hmm. I don't know. I'm sure I'd be lots happier if I was eating it. But I guess it's just my, whatchamacallit, instinct._";

begintalknode;
	state = 29;
	nextstate = 30;
	question = "_Sorry to disturb you, but what are you doing?_";
	text1 = "_I'm eating, silly!_";

begintalknode;
	state = 30;
	nextstate = 31;
	question = "_Of course._";
	text1 = "_We smart roaches have to eat lots more if we're goin' to stay smart. That's one of the neat things we figured out in the Filth Factory._";

begintalknode;
	state = 31;
	nextstate = 32;
	question = "_What is the Filth Factory?_";
	text1 = "_That's where most of the big roaches are born. Most of us are dumb. But some of us were born smart. We don't know why. We didn't want to get killed by humans, so we came to hide here._";
	text2 = "_We remember where the factory is, though, and we might return someday._";

begintalknode;
	state = 32;
	nextstate = 34;
	question = "_Well, I will not kill you._";
	text1 = "_Good. Humans and spiders are all mean to us, and all we roaches want to do is roam and eat and live and mate and be friendly and live our lives with joy! We're just like everyone else, only a little filthier!_";
	text2 = "_But you are nice! I'd even tell you where the Filth Factory is located!_";

begintalknode;
	state = 32;
	nextstate = 34;
	question = "_Perhaps you can tell me more about this Filth Factory?_";
	text1 = "_Would you like to know where it's located? You're so nice, I know you wouldn't do anything mean there!_";

begintalknode;
	state = 34;
	nextstate = -1;
	question = "_Where is the Filth Factory?_";
	text1 = "_It's hidden real good. There's a wall of filth blocking the entry, but you can find your way in if you know where to look! It's north of the biggest human town, and south of a small one, on the shore in the big hills. It's really neat! I hope you like it!_ (You take note of this.)";
	code =
		run_game_hardcode(6);
	break;

// Slime Gobbler

begintalknode;
	tag = 80;
	state = -1;
	nextstate = 57;
	question = "Slime Gobbler";
	text1 = "This roach looks very nervous when you approach. _I'm called Slime Gobbler,_ it says, in a squeaky, nervous voice.";
	text5 = "Slime Gobbler still looks very nervous. He must not trust humans very much.";
	action = INTRO;

begintalknode;
	state = 57;
	nextstate = 58;
	question = "_What are you doing right now?_";
	text1 = "_I'm looking for a mate. The old one is gone,_ it says sadly.";

begintalknode;
	state = 58;
	nextstate = 59;
	question = "_What happened to your old mate?_";
	text1 = "It looks dejected. _She was Scum Cruncher, the most lovely roach you've ever seen. She was out walking our eighty children, when they saw some humans and went to say hi._";

begintalknode;
	state = 59;
	nextstate = -1;
	question = "_What made your mate so lovely?_";
	text1 = "It emits a long, warbling sigh. _Long, elegant, curved antennae, slender wings, and she developed the most beautiful egg sacs. I miss her so. Darn you humans, for taking her from me!_";

begintalknode;
	state = 59;
	nextstate = 60;
	question = "_What happened then?_";
	text1 = "_One of them threw fire, and they all died. I wept, then snuck into their camp and got little bits of filth in their food. I followed them and watched. They ate it and got sick! Serves them right, the big meanies!_";

begintalknode;
	state = 60;
	nextstate = -1;
	question = "_What happened to them then?_";
	text1 = "_Oh, I don't know. Some of them weren't moving at all the next morning, but maybe they were just real sleepy._";

begintalknode;
	state = 60;
	nextstate = -1;
	question = "_That's awful! You can't do that to humans!_";
	text1 = "_They were mean! You're mean too, I bet! I don't like you. Hmmph._ It stomps away.";
	action = END_TALK;

begintalknode;
	state = 60;
	nextstate = -1;
	question = "_Well, I guess it served them right._";
	text1 = "_It sure did. I'm very glad you understand. I bet you'd be real mad if someone killed eighty of your babies!_ It wanders off, continuing its hunt for a mate.";
	action = END_TALK;

// Spider Slayer

begintalknode;
	tag = 100;
	state = -1;
	nextstate = 85;
	question = "Spider Slayer";
	text1 = "This roach is prancing back and forth, practicing bites and lunges. Sometimes it jumps too hard and falls over. It stops when it sees you. _I'm Spider Slayer,_ it says proudly.";
	text5 = "Spider Slayer jumps back and forth, practicing its bites and lunges. It does not seem to be gaining any skill or agility.";
	action = INTRO;

begintalknode;
	state = 85;
	nextstate = 86;
	question = "_Why are you jumping around?_";
	text1 = "_I'm practicing to defend our hunters from mean spiders!_";

begintalknode;
	state = 86;
	nextstate = 87;
	question = "_Are the mean spiders much of a problem?_";
	text1 = "_They attack sometimes when we're out hunting. We work really hard to collect our filth!_";

begintalknode;
	state = 87;
	nextstate = 88;
	question = "_What do you do with the filth you collect?_";
	text1 = "It points an antenna at the walls of trash around you. _It's tough to find good filth. Want some?_ You decline. _We carried all this here, bit by bit, blob by blob._";
	text2 = "_It's hard work. And all we want is to be loved!_";

begintalknode;
	state = 88;
	nextstate = -1;
	question = "_Most people work hard to get rid of filth, not collect it._";
	text1 = "_What a waste! Nobody likes us. It hurts our feelings. All we want is to get along with you and take your filth._ The roach bounces off, practicing parries and lunges.";
	action = END_TALK;

// Crud Muncher

begintalknode;
	tag = 120;
	state = -1;
	nextstate = 113;
	question = "Crud Muncher";
	text1 = "You meet a perky cockroach, waving her forelegs and antennae about and mumbling things in its high-pitched voice. She stops, embarrassed, when she sees you.";
	text2 = "_I'm Crud Muncher!_ She has a massive egg sac sticking out from her abdomen.";
	text5 = "Crud Muncher continues to wave her forelegs around and chant nonsense. She must be imitating some magic-user she saw. Her egg sac makes her movements very awkward.";
	action = INTRO;

begintalknode;
	state = 113;
	nextstate = 114;
	question = "_What are you trying to accomplish?_";
	text1 = "_I'm trying to learn how to cast magic spells!_ she says cheerfully.";

begintalknode;
	state = 114;
	nextstate = 115;
	question = "_What spells are you trying to learn?_";
	text1 = "_I want to know how to throw lots of fire! And to magically make filth!_";

begintalknode;
	state = 115;
	nextstate = -1;
	question = "_Make filth for what?_";
	text1 = "_To eat! Yum!_";

begintalknode;
	state = 115;
	nextstate = 116;
	question = "_What would you use the fire for?_";
	text1 = "_Like those mean humans do, I'd use it in a fight. If I could cast spells, my babies would be safe!_";

begintalknode;
	state = 116;
	nextstate = -1;
	question = "_Where are your babies?_";
	text1 = "She turns and shows off her huge egg sac. _I'm expecting forty or so, and I want them to grow up safe and strong!_";

begintalknode;
	state = 113;
	nextstate = 117;
	question = "_I see that you are expecting!_";
	text1 = "_Oh, yes! It will be my first litter! Soon, I will be a proud mommy._";

begintalknode;
	state = 117;
	nextstate = 118;
	question = "_How will that work?_";
	text1 = "_It's very beautiful! One day, the sac will drop off. Then, with any luck, the babies will come out, find filth, and grow up to be big and strong._";

begintalknode;
	state = 118;
	nextstate = -1;
	question = "_And what will you do after the sac drops off?_";
	text1 = "_I dunno. Maybe I'll find a hobby._";

// Doom Bringer

begintalknode;
	tag = 140;
	state = -1;
	nextstate = 141;
	question = "Doom Bringer";
	text1 = "You see a giant roach, busily poking at one of the tall walls of piled trash and rotting goo. It bounces over to you when it sees you. _I'm Doom Bringer,_ it says, in a happy voice. It waves its antennae at you.";
	text5 = "Doom Bringer is still poking at one of the tall walls of piled trash and rotting goo.";
	action = INTRO;

begintalknode;
	state = 141;
	nextstate = 142;
	question = "_What are you doing?_";
	text1 = "_I'm eating. But enough about me. You're cute!_";

begintalknode;
	state = 142;
	nextstate = 143;
	question = "_Umm ... thanks for the compliment._";
	text1 = "It waves its antenna. _Aren't my feelers pretty?_";

begintalknode;
	state = 143;
	nextstate = -1;
	question = "_To be honest, you fill me with strong feelings of disgust and loathing._";
	text1 = "_Oh. Well, I hope you get filth in your food and die of a horrible disease. So there._ It walks away.";
	action = END_TALK;

begintalknode;
	state = 143;
	nextstate = 144;
	question = "_Sure._";
	text1 = "_Yeah! I work hard on them._ It moves them around delicately. _Are you busy?_";

begintalknode;
	state = 144;
	nextstate = 145;
	question = "_Oh yes. I am very busy._";
	text1 = "It sighs. _You're probably going to the Filth Factory, and won't hang around, huh?_ This seems to sadden it.";

begintalknode;
	state = 145;
	nextstate = 146;
	question = "_Do you know about the Filth Factory?_";
	text1 = "_Nah. Filth Spreader keeps going on about it. I forget what it was like, though._";

begintalknode;
	state = 146;
	nextstate = -1;
	question = "_Where's Filth Spreader?_";
	text1 = "_Filth Spreader is around here somewhere. He's really cute!_ Doom Bringer wanders off.";
	action = END_TALK;

